package com.jvyou.app.ds.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.jvyou.app.common.domain.model.PageResult;
import com.jvyou.app.ds.domain.dto.StudentDto;
import com.jvyou.app.ds.domain.entity.Student;

import java.util.List;

/**
 * 学员信息表(Student)表服务接口
 *
 * @author 橘柚
 * @since 2025-04-17 15:30:08
 */
public interface StudentService extends IService<Student> {

    List<Student> listStudent(StudentDto studentDto);

    PageResult<Student> pageStudent(StudentDto studentDto);

    Student addStudent(Student student);

    PageResult<Student> pageByLesson(StudentDto studentDto);

    Boolean arrive(Long lessonId, Long studentId);

    Boolean cancelLesson(Long lessonId);

    Boolean signInLesson(Long lessonId, String password);
}

